package org.example.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StoreTraffic {
    private Integer id;
    private String storeId;
    private LocalDate recordDate;
    private Integer hourOfDay;
    private Integer customerCount;
    private BigDecimal stayTimeAvg; // 平均停留时间(分钟)
    private BigDecimal conversionRate; // 转化率(%)
    private LocalDateTime createTime;
}